<div class="am-u-sm-12 widget main-w" style="width: 100%;">
    <div class="am-u-sm-12">
        <div class="am-u-sm-12 cl-p">
            <fieldset class="cl-p cl-m">
                <legend style="margin: 0;"><span class="am-icon-arrow-circle-o-left" style="margin-right: 30px;font-weight: 900;"></span>单位资质认证</legend>
            </fieldset>
        </div>
    </div>
    {foreach $list as $key => $item}
    <div class="am-u-sm-12">
        <div class="am-u-sm-12 border-bottom" style="margin-bottom: 10px;padding:0 0 10px 0 ;">
            单位信息：<span class="approve-state">{$item.state?'已通过':'待审批'}</span>
        </div>
        <div class="am-u-sm-12 cl-p">
            <div class="am-u-sm-12 cl-p unit_name" style="margin-bottom: 10px;">单位名称：<span >{$item.company_name}</span></div>
            <div class='file-w'>
                <div class="am-u-sm-12 cl-p" style="margin-bottom: 10px;position: relative;">
                    营业执照：
                    <span style="padding: 10px;color: #FF9800;">
					</span>
                </div>
                <div class="am-u-sm-12" style="margin-bottom: 10px;">
                    <div style="width: 200px;height: 150px;margin-left: 70px;">
                        <img class="fileimg" data-magnify="1" src="/upload/{$item.image}" style="width: 100%;height: 100%;" />
                    </div>
                </div>
            </div>
            <div class="am-u-sm-12 cl-p" style="margin-bottom: 10px;">公司邮箱：<span class="unit_mailbox"></span></div>
            <div class="am-u-sm-8 cl-p">
                <div style="width：100%;padding-left: 70px;box-sizing: border-box;">
                    <div class="am-u-sm-6">
                        <div class="am-u-sm-12 cl-p"  style="margin-bottom: 10px;">
                            <div class="am-u-sm-12 cl-p">
                                <input type="text" class="am-form-field" placeholder="公司邮箱" name="mail" value="{$item.email}"/>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="am-u-sm-12 cl-p" style="margin-bottom: 10px;">开票资料：</div>
            <div class="am-u-sm-8 cl-p">
                <div style="width：100%;padding-left: 70px;box-sizing: border-box;">
                    <div class="am-u-sm-6">
                        <div class="am-u-sm-12 cl-p"  style="margin-bottom: 10px;">
                            <div class="am-u-sm-12 cl-p">
                                发票抬头
                            </div>
                            <div class="am-u-sm-12 cl-p">
                                <input type="text" class="am-form-field" placeholder="与单位或公司资质上的名字一致" name="fapiaotaitou" value="{$item.head}"/>
                            </div>
                        </div>
                        <div class="am-u-sm-12 cl-p" style="margin-bottom: 10px;">
                            <div class="am-u-sm-12 cl-p">
                                公司注册地址
                            </div>
                            <div class="am-u-sm-12 cl-p">
                                <input type="text" class="am-form-field" placeholder="与单位或公司资质上的名字一致" name="gongsizhuchedizhi" value="{$item.add}"/>
                            </div>
                        </div>
                        <div class="am-u-sm-12 cl-p"  style="margin-bottom: 10px;">
                            <div class="am-u-sm-12 cl-p">
                                开户行名称
                            </div>
                            <div class="am-u-sm-12 cl-p">
                                <input type="text" class="am-form-field" placeholder="需精确到支行" name="kaihuhangmingcheng" value="{$item.bank_name}"/>
                            </div>
                        </div>
                    </div>
                    <div class="am-u-sm-6">
                        <div class="am-u-sm-12 cl-p"  style="margin-bottom: 10px;">
                            <div class="am-u-sm-12 cl-p">
                                纳税人识别号
                            </div>
                            <div class="am-u-sm-12 cl-p">
                                <input type="text" class="am-form-field" placeholder="输入纳税人识别号，15-20位" name="nashuirenshibiehao" value="{$item.recognition}"/>
                            </div>
                        </div>
                        <div class="am-u-sm-12 cl-p" style="margin-bottom: 10px;">
                            <div class="am-u-sm-12 cl-p">
                                公司注册电话
                            </div>
                            <div class="am-u-sm-12 cl-p">
                                <input type="text" class="am-form-field" placeholder="手机号或固定电话" name="gongsizhuchedianhua" value="{$item.phone}"/>
                            </div>
                        </div>
                        <div class="am-u-sm-12 cl-p" style="margin-bottom: 10px;">
                            <div class="am-u-sm-12 cl-p">
                                开户行账号
                            </div>
                            <div class="am-u-sm-12 cl-p">
                                <input type="text" class="am-form-field" placeholder="开户行账号" name="kaihuhangzhanghao" value="{$item.bank_number}"/>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="am-u-sm-4"></div>
            <div class="am-u-sm-12">
                <div style="width：100%;padding-left: 70px;box-sizing: border-box;">
                    {if $item.state==0}
                    <a href="check_authentication?company_cert_id={$item.company_cert_id}" >同意</a>
                    {/if}
                </div>
            </div>
        </div>
    </div>
    {/foreach}
</div>